package com.big.tree.service.impl;

import com.big.tree.dao.UserDao;
import com.big.tree.entity.User;
import com.big.tree.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public User getOne() {
        return userDao.getOne();
    }
}
